package com.z.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author z
 * @since 2022-04-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_blog")
@ApiModel(value="Blog对象", description="")
public class Blog extends BaseEntity{

    private static final long serialVersionUID = 1L;

    @TableField("appreciation")
    private Boolean appreciation;

    @TableField("commentabled")
    private Boolean commentabled;

    @TableField("content")
    private String content;

    @TableField("description")
    private String description;

    @TableField("first_picture")
    private String firstPicture;

    @TableField("flag")
    private String flag;

    @TableField("published")
    private Boolean published;

    @TableField("recommend")
    private Boolean recommend;

    @TableField("share_statement")
    private Boolean shareStatement;

    @TableField("title")
    private String title;


    @TableField("views")
    private Integer views;

    @TableField("type_id")
    private Long typeId;

    @TableField("user_id")
    private Integer userId;


}
